#include"process.h"
void progress_bar(char* mark, char* table ,char y){
	int i = 0;
	for(i = 0; i<=101 ;i++ ){
		mark[i] = y;
		printf("[%-100s][%d%%][%c]\r",mark,i,table[i%4]);
		fflush(stdout);
		usleep(500000000);
	}
	printf("\n");
	return;
}
